.wrapper {
    width: 50%;
    height: 300px;
    border: 1px solid rgb(130, 231, 231);
    margin-left: 100px;
}


/*disp;ay属性*/

.layout2 li {
    display: inline;
}

.layout2 span {
    display: block;
}

.layout2 p {
    display: inline-block;
}


/* 弹性盒子 */

.layout3 {
    display: flex;
    flex-direction: row;
}

.layout3>div {
    background-color: green;
    margin: 0 10px;
    flex: 1;
}


/* 网格 */

.layout4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 75px 75px;
    grid-gap: 5px;
}

.layout4>div {
    background: rgb(228, 153, 235);
    border-radius: 5px;
}

.layout5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 75px 75px;
    grid-gap: 5px;
}

.layout5>div {
    background: rgb(228, 153, 235);
    border-radius: 5px;
}

.layout5 .box1 {
    grid-column: 2/4;
    grid-row: 1;
}

.layout5 .box2 {
    grid-column: 1;
    grid-row: 1/3;
}

.layout5.box3 {
    grid-column: 3;
    grid-row: 2;
}


/* 浮动 */

.layout6>div {
    float: left;
    background: rgb(136, 213, 243);
    border-radius: 5px;
    margin: 5px;
}

.layout6 .box2 {
    float: right;
}


/* 定位 */

.layout7 {
    position: r;
}

.layout7>div {
    background: rgb(136, 213, 243);
    border-radius: 5px;
    margin: 5px;
}

.layout7 .box2 {
    position: relative;
    left: 0;
    top: 50px;
}

.layout7 .box3 {
    position: absolute;
    left: 0;
    top: 100px;
}


/* CSS表格布局 */

.layout8 form {
    display: table;
    border-collapse: separate;
    border-spacing: 5px;
}

.layout8 div {
    display: table-row;
}

.layout8 label,
.layout8 input {
    display: table-cell;
}

.layout8 label {
    width: 100px;
    text-align: right;
    padding-right: 10px;
}

.layout8 input {
    width: 200px;
}

.layout8 p {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
}


/* 多列布局 */

.layout9 {
    /* column-count: 2; */
    column-width: 50px;
}